import request from '@/utils/request'

export function emp(params) {
  return request({
    url: '/initValue/emp/emp',
    method: 'get',
    params
  })
}

export function deleteById(id) {
  return request({
    url: '/initValue/emp/deleteById?id='+id,
    method: 'post'
  })
}
export function deleteByIds(data) {
  return request({
    url: '/initValue/emp/deleteByIds',
    method: 'post',
    data
  })
}
export function addEmp(data) {
  return request({
    url: '/initValue/emp/addEmp',
    method: 'post',
    data
  })
}
export function updateEmp(data) {
  return request({
    url: '/initValue/emp/updateEmp',
    method: 'post',
    data
  })
}
export function getList(){
  return request({
    url: '/initValue/emp/list',
    method: 'get'
  })

}

